|
MAKE MATRIX
This command will create a matrix to a given width and depth segmented into grid square of a specified arrangement.
MAKE MATRIX Matrix Number, Width, Height, XSegments, ZSegments
Matrix Number
Integer
The matrix number
Width
Float
The width of the matrix
Height
Float
The depth of the matrix
XSegments
Integer
How many tiles on the x
ZSegments
Integer
How many tiles on the y
This command does not return a value.
A matrix can be thought of as a grid landscape with individual tiles that can be textured, raised and lowered to create a wide variety of surfaces. The matrix number and segment values should be integer values. The width and depth should be real numbers.
ink rgb(255,255,255),0
position camera 0,300,0
autocam off
make matrix 1,1000,1000,25,25
position matrix 1,0,0,0
randomize matrix 1,rnd(100)
update matrix 1
do
loop
if matrix exist(1)=1 then delete matrix 1
end
MATRIX Commands Menu
Index
|